home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / UTILITIE / CPU_MEMO / 0577.ZIP / SERVER.BAT < prev   
DOS Batch File  |  1987-04-03  |  866b  |  39 lines

  1. cls
  2. echo off
  3. rem
  4. rem                       EQUAL PARTNERS
  5. rem
  6. rem                        Version 1.11
  7. rem         Copyright (c) DOWNLINK SYSTEMS INC. 1986,1987
  8. rem
  9. rem This is an example of installing PARTNERS on the "server"
  10. rem also the .bat checks the error/return code from the
  11. rem application program, and takes action accordingly.
  12. rem
  13. rem The %1 symbolic parameter may be COM1 or COM2
  14. rem
  15.  
  16. PARTNERS.com /%1
  17.  
  18. if errorlevel 4 goto okexit
  19. if errorlevel 3 goto already
  20. if errorlevel 2 goto missing
  21. if errorlevel 1 goto badcomm
  22. echo PARTNERS successfully installed resident
  23. goto end
  24.  
  25. :okexit
  26. echo PARTNERS terminated because 'ESC' key pressed!
  27. goto end
  28.  
  29. :already
  30. echo Equal communications program already installed
  31. goto end
  32.  
  33. :badcomm
  34. echo Communications port %1 was not found
  35. goto end
  36.  
  37. :end
  38. echo ** END OF PARTNERS INSTALL **
  39.